<include file="__THEME__/header" />
<script type="text/javascript" src="__PUBLIC__/js/jquery.form.js"></script>
<script type="text/javascript" src="{:U('weibo/Plugins/init')}"></script>
<!--[if IE 6]>
		<script src="__PUBLIC__/js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript"></script>  
		<script type="text/javascript">
			DD_belatedPNG.fix('.home_hd,.nav_1 li .lt,.nav_1 li .rt,.home_user_hb,.home_user_hb .n,.home_user_hb i,.home_ft ');
		</script>
	<![endif]--> 


<php>if($mid==-1){</php>
<!-- 快速注册 -->
<div class="quick_reg mt10">
<div class="reg_box">
	<h2 class="cBlue"><span class="right">已有账号？<a href="###">马上登录</a></span><strong>赶快注册XX微博,和我一起随时随地分享生活的新鲜资讯吧!</strong></h2>
    <ul style=" width:380px;" class="form_list">
    	<li class="form_li"><div class="left alR" style="width:85px;">电子邮箱：</div><div class="left" style="width:260px;"><input type="text" class="text" style="width:250px;" name="email" require="true"  /></div></li>
        <li class="form_li"><div class="left alR" style="width:85px;">&nbsp;</div><div class="left" ><a href="###" class="btn_reg"><strong>快速创建我的微博</strong></a></div></li>
    </ul>
    <div class="clew_bg left" style="width:605px;">
    <div class="clew_bg_arrow_l"></div>
    	<div class="clew_bg_top"><div></div></div>
        <div class="clew_bg_con" style="height:70px;">为什么要注册、登录？<br />
XX微博为每一位用户提供不同的服务，登录才能记住你的喜好。</div>
        <div class="clew_bg_btm"><div></div></div>
    </div>
    <div class="c"></div>
    </div>
</div>
<div class="quick_reg mt10">
<div class="reg_box">
	<h2 class="cBlue"><span class="right cG">已有账号？<a href="###">马上登录</a></span><strong>赶快注册XX微博,和我一起随时随地分享生活的新鲜资讯吧!</strong></h2>
    <ul class="form_list">
    	<li class="form_li"><div class="left alR" style="width:85px;">电子邮箱：</div><div class="left" style="width:260px;"><input type="text" class="text" style="width:250px;" name="email" require="true"  /></div><div class="left"><span class="ico_cue_ok">&nbsp;</span></div></li>
        <li class="form_li"><div class="left alR" style="width:85px;">电子邮箱：</div><div class="left" style="width:260px;"><input type="password" class="text" style="width:250px;" name="password" id="password" require="true" value="" datatype="limit"  min="6" max="16" /></div><div class="left"><span  class="ico_cue_no"></span>邮箱格式不对</div></li>
        <li class="form_li"><div class="left alR" style="width:85px;">电子邮箱：</div><div class="left" style="width:260px;"><input type="password" class="text" style="width:250px;" name="repassword" require="true" value="" datatype="repeat|limit"  min="6" max="16" to="password" />
                    </div><div class="left"><span></span>邮箱格式不对</div></li>
        <li class="form_li"><div class="left alR" style="width:85px;">验证码：</div><div class="left" style="width:100px;"><input type="text" class="text" style="width:90px;" name="email" require="true"  /></div><div class="left"><span></span>12341</div></li>
        <li><div class="left alR" style="width:85px;">&nbsp;</div><div class="left" ><a href="###" class="btn_reg"><strong>快速创建我的微博</strong></a></div></li>
    </ul>
    <div class="c"></div>
</div>
</div>
<php>}</php>
<include file="../Public/top_reg" />
<div id="body" class="fm960"><!-- 内容 begin  --> 
<div class="home_hd"></div>
  <div class="home_bd clearfix">
  <ul class="nav_1" id="home_nav">
    <li class="nav_f f <eq name='type' value=''>h</eq>">
    	<span class="lt"></span>
		<div class="md"><a href="{:U('home/space/index',array('uid'=>$uid))}">
		
		</a></div>
		<span class="rt"></span>
	</li>
	<li class="<eq name='type' value='original'>h</eq>">
		<span class="lt"></span>
		<div class=" md"><a  href="{:U('home/space/index',array('type'=>'original','uid'=>$uid))}">动态</a></div>
		<span class="rt"></span>
	</li>
	<li class="<eq name='type' value='1'>h</eq>">
		<span class="lt"></span>
		<div class=" md"><a  href="{:U('home/space/index',array('type'=>'1','uid'=>$uid))}">图片</a></div>
		<span class="rt"></span>
	</li>
	
	<li class="<eq name='type' value='5'>h</eq>">
		<span class="lt"></span>
		<div class="md "><a  href="{:U('home/space/index',array('type'=>'5','uid'=>$uid))}">宝贝</a></div>
		<span class="rt"></span>
	</li>
		
	<li class="<eq name='type' value='fav'>h</eq>">
		<span class="lt"></span>
		<div class="md "><a  href="{:U('home/space/index',array('type'=>'fav','uid'=>$uid))}">喜欢</a></div>
		<span class="rt"></span>
	</li>
	<li class="<eq name='type' value='3'>h</eq>">
		<span class="lt"></span>
		<div class="md "><a  href="{:U('home/space/index',array('type'=>'3','uid'=>$uid))}">视频</a></div>
		<span class="rt"></span>
	</li>
	<li class="<eq name='type' value='4'>h</eq>">
		<span class="lt"></span>
		<div class="md "><a  href="{:U('home/space/index',array('type'=>'4','uid'=>$uid))}">音乐</a></div>
		<span class="rt"></span>
	</li>
	
	<li class="<eq name='type' value='albums'>h</eq>">
		<span class="lt"></span>
		<div class="md "><a  href="{:U('photo/index',array('act'=>'albums','uid'=>$uid))}">相册</a></div>
		<span class="rt"></span>
	</li>
	
	<volist name="apps_list" id="vo">
    <li class="<if condition="$app_show eq $vo['app_name']">h</if>">
		  <span class="lt"></span>
		  <div class="md "><a id="feed_colleague_item" rel="colleague"  href="{:U('home/Space/index',array('app_show'=>$vo['app_name'],'uid'=>$uid))}">{$vo['app_alias']}</a></div>
		  
		  <span class="rt"></span>
	</li>
    </volist>
	
	
	<li class="hb">
		<div class="home_user_hb"><span class="huh_avt"><space uid="uid">{uavatar}</space></span><!--[if IE 6]><div></div><![endif]--><span class="n"><a href="{:U('home/Book/index',array('uid'=>$uid))}" target="_blank">
            {$uid|getUserName}的画报</a></span><!--[if IE 6]><div></div><![endif]--><i></i>
        </div>
	</li>
</ul>


  
    <div class="mainbox">
      <div class="right_main">
	      <include file="../Space/space_right" />
	<div class="p_l right_box">
	<h2><gt name="mid" value="0">
				   <php>if($mid!=$uid && $mid!=0){</php>TA<php>}else{</php>我<php>}</php><else/>
				   TA</gt>的粉丝</h2>
	<ul>

		 <volist id="vo" name="follower.data">
		 <li><div><space uid="vo.fid">{uavatar}</space></div><space uid="vo.fid">{uname}</space></li>
		 
		 
</volist>

</ul>
</div>	

<div class="p_l right_box">
	<h2><gt name="mid" value="0">
				   <php>if($mid!=$uid && $mid!=0){</php>TA<php>}else{</php>我<php>}</php><else/>
				   TA</gt>关注的人</h2>
	<ul>

		 <volist id="vo" name="following.data">
		 <li><div><space uid="vo.fid">{uavatar}</space></div><space uid="vo.fid">{uname}</space></li>
		 
		 
</volist>

</ul>
</div>

      </div>
      <div class="left_main">
        <div class="friend_info">
 			<include file="../Space/userMenu" />
        </div>
      <div style="clear:left; height:5px;"></div>
	 <php>if(!$_GET['type']){</php> 
	  <if condition="$photo_list">
		<script src="{:SITE_URL}/apps/photo/Tpl/default/Public/js/preview.js" type="text/javascript"></script>
		<script>
			var photo_preview = '{$photo_preview}';
		</script>
        <dl class="SpacePicList">
        <dt><h3 class="ml20"><gt name="mid" value="0"><php>if($mid!=$uid && $mid!=0){</php>TA<php>}else{</php>我<php>}</php><else/>
				   TA</gt>的最新图片</h3></dt>
        <volist name="photo_list" id="li">
          <dd><a href="{:U('photo/Index/photo',array(id=>$li['id'],aid=>$li['albumId'],uid=>$li['userId']))}#show_pic" target="_blank"
	                 rel="__ROOT__/thumb.php?w=400&h=400&t=f&url={:SITE_URL}/data/uploads/{$li.savepath}" title="{$li.name}"
	                 class="preview" ><img src="__ROOT__/thumb.php?w=150&h=150&url={:SITE_URL}/data/uploads/{$li.savepath}" /></a></dd>
        </volist>
        </dl>
		<div class="clear"></div>
	<div style="padding-left:10px; padding-top:10px;"><a href="{:U('photo/Index/photos', array('uid'=>$uid))}"><img src="__THEME__/images/see_all2.png" style="vertical-align:middle;" class="ml10"></a>
	
	<a style="text-decoration:underline;color:#09c" class="pl10" href="{:U('photo/Index/albums', array('uid'=>$uid))}">全部相册</a>
	</div>
      </if>

	 <php>if($mygoods){</php>
	  <h3 class="ml20"><gt name="mid" value="0">
				   <php>if($mid!=$uid && $mid!=0){</php>TA<php>}else{</php>我<php>}</php><else/>
				   TA</gt>分享的宝贝...</h3>
	  <ul class="images_list pb15 space_huabao" id="bao_list">
	  <volist name="mygoods" id="vo"> 
    		
    		                    <li><a href="{:U('home/Look/detail',array('id' => $vo['weibo_id']))}" title="<?php $title=unserialize($vo['type_data']); echo $title['g_title'] ?>"><img width="100" height="100" src="<php>echo $title['picurl']</php>"></a>
								<p> ￥<php>echo $title['price'] </php> </p>
							</li>	
    	</volist>		               
    </ul>
	
	
	<div class="clear"></div>
	<div style="padding-left:10px; padding-top:10px;"><a href="{:U('home/space/index',array('type'=>'5','uid'=>$uid))}"><img src="__THEME__/images/see_all2.png" style="vertical-align:middle;" class="ml10"></a>
	
	<a style="text-decoration:underline;color:#09c" class="pl10" href="{:U('home/Book/index',array('uid'=>$uid))}">用画报模式查看</a>
	</div>
	
	<php>}</php> 
	<php>}</php> 
	  <div class="clear"></div>
	  
	  <h3 class="ml20">所有消息...</h3>
	  
	  <if condition="$app_show">
        {$app_show_content}
      <else />
      <div class="feedBox">
        <ul class="feed_list">
          <volist id="vo" name="list['data']">
            <li class="lineD_btm" id="list_li_{$vo.id}">
              <div class="feed_c" style="margin-left:10px;">
                <div class="msgCnt">{$vo.content|format=true}</div>
				<php>if( $vo['transpond_id'] ){</php>
				<php>if($vo['expend']){</php>
	                  <div class="feed_quote"> <img class="q_ico_arrow" src="__THEME__/images/zw_img.gif" />
	                    <div class="q_tit"><img class="q_tit_l" src="__THEME__/images/zw_img.gif" /></div>
	                    <div class="q_con"> <space uid="vo.expend.uid" class="null">{uname}</space>：{$vo.expend.content|format=true} <a href="{:U('home/Space/detail',array('id'=>$vo['expend']['id']))}">原文转发({$vo.expend.transpond}</a>)&nbsp;|&nbsp;<a href="{:U('home/Space/detail',array('id'=>$vo['expend']['id']))}">原文评论({$vo.expend.comment})</a> {$vo.expend.expend} </div>
	                    <div class="q_btm"><img class="q_btm_l" src="__THEME__/images/zw_img.gif" /></div>
	                  </div>
				   <php>}else{</php>
	                  <div class="feed_quote"> <img class="q_ico_arrow" src="__THEME__/images/zw_img.gif" />
	                    <div class="q_tit"><img class="q_tit_l" src="__THEME__/images/zw_img.gif" /></div>
	                    <div class="q_con">此微博已被原作者删除</div>
	                    <div class="q_btm"><img class="q_btm_l" src="__THEME__/images/zw_img.gif" /></div>
	                  </div>
				   <php>}</php>
                <php>}else{</php>
                	{$vo.expend|format}
                <php>}</php>
			    <div class="feed_c_btm">
			        <gt name="mid" value="0"> 
					<span class="right">
						<php>if( $vo['uid'] == $mid ){</php><a href="javascript:void(0)" onclick="ui.confirm(this,'确认要删除这条微博?')" callback="weibo.deleted({$vo.id})">删除</a>&nbsp;&nbsp;|&nbsp;&nbsp;<php>}</php>
						<a href="javascript:void(0)" <neq name="mid" value="0">onclick="weibo.transpond({$vo.id})"</neq>>转发({$vo.transpond})</a>&nbsp;&nbsp;|&nbsp;&nbsp;
						<php>if($vo['is_favorited']){</php>
	                       <a href="javascript:void(0)" <neq name="mid" value="0">onclick="weibo.unFavorite({$vo.id},this)"</neq>>已收藏</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	                    <php>}else{</php>
	                       <a href="javascript:void(0)" <neq name="mid" value="0">onclick="weibo.favorite({$vo.id},this)"</neq>>收藏</a>&nbsp;&nbsp;|&nbsp;&nbsp;
	                    <php>}</php>
						<a href="javascript:void(0)" <neq name="mid" value="0">rel="comment" minid="{$vo.id}"</neq> >评论({$vo.comment})</a>
					</span>
					</gt>
					<cite><a href="{:U('home/Space/detail',array('id'=>$vo['id']))}">{$vo.ctime|friendlyDate}</a></cite> 来自 <cite><?php echo getFrom($vo['from'], $vo['from_data']);?></cite> 
				</div>
                <div id="comment_list_{$vo.id}" style=""></div>
              </div>
            </li>
          </volist>
        </ul>
      </div>
      <div class="page">{$list.html}</div>
	  </if>
	  <div class="c"></div>
    </div>
  </div>
  <div class="clear"></div>
</div>
<div class="home_ft"></div>
</div>
<!-- 内容 end --> 
<include file="__THEME__/footer" /> 